$OpenBSD: patch-samples_framework_src_SamplesFrameworkBase_cpp,v 1.2 2016/08/31 16:18:58 pascal Exp $
--- samples_framework/src/SamplesFrameworkBase.cpp.orig.port	Sun Feb 28 00:48:50 2016
+++ samples_framework/src/SamplesFrameworkBase.cpp	Fri Apr  1 11:39:44 2016
@@ -34,7 +34,7 @@
 // includes for renderer selector classes
 #if defined( __WIN32__ ) || defined( _WIN32 )
 #   include "Win32CEGuiRendererSelector.h"
-#elif defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__)  || defined(__HAIKU__)
+#elif defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__HAIKU__)
 #   ifdef CEGUI_SAMPLES_USE_GTK2
 #       include "GTK2CEGuiRendererSelector.h"
 #   else
@@ -180,7 +180,7 @@ bool SamplesFrameworkBase::initialise
     d_rendererSelector->setRendererAvailability(Direct3D11GuiRendererType);
 #endif
 
-#elif defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__HAIKU__)
+#elif defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__HAIKU__)
     // decide which method to use for renderer selection
 #   ifdef CEGUI_SAMPLES_USE_GTK2
         d_rendererSelector = new GTK2CEGuiRendererSelector();
